package com.zuoye;

import java.util.Scanner;

public class Demo6 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入自己的名字：");
        String name = input.next();
        System.out.print("输入自己的年龄：");
        int age = input.nextInt();
        System.out.print("输入自己的性别：");
        String sex = input.next();

        System.out.println("名字：" + name);
        System.out.println("年龄：" + age);
        System.out.println("性别：" + sex);
    }
}
